package cn.cstech.aijia.ui.project;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import cn.cstech.aijia.R;
import cn.cstech.aijia.ui.base.BaseActivity;

/**
 * Created by xi on 15/9/14.
 */
public class ProjectDetailActivity extends BaseActivity implements View.OnClickListener{


    private ImageView icon_iv;
    @Override
    protected void onCreate(Bundle arg0) {
        super.onCreate(arg0);
        setContentView(R.layout.ac_project_detail);
        icon_iv = (ImageView) findViewById(R.id.icon_iv);
        icon_iv.setOnClickListener(this);
    }

    @Override
    protected void onTitleBarCreate() {
        super.onTitleBarCreate();
        setTitleText("美式风情幸福");
        setLeftImageView(R.drawable.arrow_back, new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });


    }

    @Override
    public void onClick(View v) {

        switch (v.getId()){
            case R.id.icon_iv:
                startActivity(new Intent(this,ProjectDetailActivity.class));
                break;
        }
    }
}
